package com.example.dml.strategy_pattern.normal;

/**
 * @description:
 * @author: gaoyang
 * @date: 2021/10/28 21:19
 */
public class PromotionActivity {

    private PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void excute(){
        promotionStrategy.doPromotion();
    }
}
